<?php
/* @var $this SubscriptionAdminController */
/* @var $model Subscription */

$this->breadcrumbs=array(
	'Subscriptions'=>array('index'),
	$model->subscription_id,
);

$this->menu=array(
	array('label'=>'Thêm Email', 'url'=>array('create')),
	array('label'=>'Sửa', 'url'=>array('update', 'id'=>$model->subscription_id)),
	//array('label'=>'Xoá', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->subscription_id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Quản trị', 'url'=>array('admin')),
);
?>

<h1>Chi tiết E-mail đăng ký (Mã: <?php echo $model->subscription_id; ?>)</h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'subscription_id',
		'subscription_email',
		'subscription_time',
        array(
            'name'=>'subscription_status',
            'type'=>'raw',
            'value'=>($model->subscription_status)?"<input data-no-uniform=\"true\" checked type=\"checkbox\" class=\"iphone-toggle\" disabled=\"disabled\">":"<input data-no-uniform=\"true\" type=\"checkbox\" class=\"iphone-toggle\" disabled=\"disabled\">",
        ),
	),
)); ?>
